package ModelLayer;

public class Product
{
	private int productNr;
	private int productID;
	private String name;
	private double purchasePrice;
	private double salesPrice;
	private double rentPrice;
	private int minStock;
	private int inStock;
	private int size;
	private String colour;
	private String type;
	private String manufacturer;
	private String material;
	private String countryOfOrigin;
	private String description;
	private Supplier supplier;
	
	public Product()
	{
		
	}
	
	public Product(int productID)
	{
		this.setProductID(productID);
	}
	
	public Product(int productNr,String name,double purchasePrice,double salesPrice,double rentPrice,int minStock,int inStock,int size,String colour,String type,String manufacturer,String material,String countryOfOrigin,String description,Supplier supplier)
	{
		this.productNr = productNr;
		this.name = name;
		this.purchasePrice = purchasePrice;
		this.salesPrice = salesPrice;
		this.rentPrice = rentPrice;
		this.minStock = minStock;
		this.inStock = inStock;
		this.size = size;
		this.colour = colour;
		this.type = type;
		this.manufacturer = manufacturer;
		this.material = material;
		this.countryOfOrigin = countryOfOrigin;
		this.description = description;
		this.supplier = supplier;
	}
	
	public void setProductNr(int newProductNr)
	{
		productNr = newProductNr;
	}
	public void setName(String newName)
	{
		name = newName;
	}
	public void setPurchasePrice(double newPurchasePrice)
	{
		purchasePrice = newPurchasePrice;
	}
	public void setSalesPrice(double newSalesPrice)
	{
		salesPrice = newSalesPrice;
	}
	public void setRentPrice(double newRentPrice)
	{
		rentPrice = newRentPrice;
	}
	public void setMinStock(int newMinStock)
	{
		minStock = newMinStock;
	}
	public void setInStock(int newInStock)
	{
		inStock = newInStock;
	}
	public void setSize(int newSize)
	{
		size = newSize;
	}
	public void setColour(String newColour)
	{
		colour = newColour;
	}
	public void setType(String newType)
	{
		type = newType;
	}
	public void setManufacturer(String newManufacturer)
	{
		manufacturer = newManufacturer;
	}
	public void setMaterial(String newMaterial)
	{
		material = newMaterial;
	}
	public void setCountryOfOrigin(String newCountryOfOrigin)
	{
		countryOfOrigin = newCountryOfOrigin;
	}
	public void setDescription(String newDescription)
	{
		description = newDescription;
	}
	public void setSupplier(Supplier newSupplier)
	{
		supplier = newSupplier;
	}
	public void setProductID(int newProductID) 
	{
		this.productID = newProductID;
	}
	
	public int getProductNr()
	{
		return productNr;
	}
	public String getName()
	{
		return name;
	}
	public double getPurchasePrice()
	{
		return purchasePrice;
	}
	public double getSalesPrice()
	{
		return salesPrice;
	}
	public double getRentPrice()
	{
		return rentPrice;
	}
	public int getMinStock()
	{
		return minStock;
	}
	public int getInStock()
	{
		return inStock;
	}
	public int getSize()
	{
		return size;
	}
	public String getColour()
	{
		return colour;
	}
	public String getType()
	{
		return type;
	}
	public String getManufacturer()
	{
		return manufacturer;
	}
	public String getMaterial()
	{
		return material;
	}
	public String getCountryOfOrigin()
	{
		return countryOfOrigin;
	}
	public String getDescription()
	{
		return description;
	}
	public Supplier getSupplier()
	{
		return supplier;
	}
	public int getProductID()
	{
		return productID;
	}
}
